import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/shouye',
      name: 'shouye',
      component: () => import('../views/Shouye.vue')
    },
    {
      path: '/baobao',
      name: 'baobao',
      component: () => import('../views/Baobaotuan.vue')
    },
    {
      path: '/shou',
      name: 'shou',
      component: () => import('../views/Shou.vue')
    },
    {
      path:'/',
      redirect:'/shou'
    },
  ]
})

export default router
